﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AlexandriaPressAdminDataAccessLayer;
using AlexandriaPressAdminObject;

namespace AlexandriaPressAdminBusinessLayer
{
    public class UserBL
    {
        public static List<UserInfo> viewUserList()
        {
            return UserDL.displayAll();
        }

        public static int BanUser(List<UserInfo> _userInfo)
        {
           return UserDL.banUser(_userInfo);
        }

        public static int SuspendUser(List<UserInfo> _userInfo)
        {
            return UserDL.suspendUser(_userInfo);
        }

    }
}
